home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
352_01.zip
/
WFVPATH.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-10
|
492b
|
26 lines
/* WFVPATH.C
* form entry function to validate data paths
* may be either NULL or C:\path\
* must end in '\\'
* specified path must exist
*/
#include <stdlib.h>
#include "wtwg.h"
#include "dblib.h"
int wfvpath (WFORM *fm, char *buf)
{
int retcode;
retcode = validate_path ( buf );
if ( -1 == retcode )
{
wform_showerror ( fm, "Path not found" );
}
return (retcode);
}
/*----------------------- WFVPATH.C -----------------------------*/